package cn.juque.jdfsystem.console.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>JdfSystemConfig</li>
 * </ul>
 * @date 2023-01-19 09:49:17
 **/
@Component("jdfSystemConfig")
public class JdfSystemConfig {

    @Value("#{'${jdf.list-ip}'.split(',')}")
    private List<String> ipList;

    @Value("${jdf.secret}")
    private String secret;

    public List<String> getIpList() {
        return ipList;
    }

    public String getSecret() {
        return secret;
    }
}
